/* start */
.sala .salaImg {
  width: 100%;
  padding: 10px 0;
  margin: 10px 0;
}
.cushion-body .LineupThumbContent {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cushion-body .LineupThumbContent img {
  display: flex;
  margin: 15px 0;
}
.cushion-body .LineupThumb li {
  height: auto;
  width: 350px;
  margin: 25px 0;
  font-weight: bold;
  border-left: 1px dotted #ccc;
}

.cushion-body div#main-content a {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.cushion-single div#main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cushion-single .LineupThumbContent {
  margin-bottom: 0;
}

.single-cushion-container {
  width: 100%;
}

.cushion-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cusion-table {
  overflow-x: auto;
  margin: 0 0 10px 0;
}

.cusion-product-table {
  margin: 5px 0 10px !important;
}
.cusion-product-table tr {
  border: 2px solid black;
}
.cusion-product-table th,
.cusion-product-table td {
  background: none !important;
}
.cusion-product-table tr th:first-child {
  border-right: 1px solid black !important;
}
.cusion-product-table tr td:first-child {
  border-right: 1px solid black !important;
}
.cusion-product-table tr:last-child {
  color: red;
}
.cusion-product-table tr:last-child td:first-child {
  color: black;
}

/* arm rest start */
.arm-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px 10px;
  margin-bottom: 20px;
}

.arm-container li:nth-last-of-type(-n+4) img {
  height: 181px;
}


@media (max-width: 480px) {
  .arm-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .arm-container li:nth-last-of-type(-n+4) img {
  height: 165px !important;
}



}

.arm-rest-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-size: 16px;
}

.arm-rest-card img {
  width: 100%;
  height: auto;
}
.arm-container li {
  list-style: none;
}

.arm-rest-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 !important;

  color: red;
}

/* arm rest end */

@media (max-width: 480px) {
  body {
    padding: 0 5px !important;
  }

  #main-content #FOOD {
    padding: 0;
  }

  .area_l {
    float: left !important;
    width: 100% !important;
  }

  #footer_bg {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  div#main-content div.pattern1-8 div.col_low,
  div#main-content div.pattern1-8 div.col_high {
    float: none;
    width: auto;
    margin: 10px 2px 15px;
    height: auto;
    margin-top: 3px;
    border: 1px solid #ccc;
    padding: 6px 2px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .top_text,
  .top_text2 {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    width: 100%;
    text-align: center;
  }

  .nav-top {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
  }

  #top_logo_text2 {
    width: 50%;
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .topicsbox img {
    width: 100% !important;
  }

  .nav-top li {
    margin-left: 0px;
  }

  .lanking_02 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));

    max-width: 100%;
    padding: 5px 0 !important;
    row-gap: 10px;
  }

  .lanking_02 ul li {
    padding: 10px 10px 0 10px;
  }
  .lanking_02 img {
    width: 100%;
  }
  .choice_row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    max-width: 100%;
    padding: 5px 0 !important;
  }

  div#main-content ul li a {
    text-align: left !important;
    display: flex;
    justify-content: center;
  }

  .btn02 {
    width: 100%;
  }

  .news_content img {
    height: auto;
    display: block;
  }

  .otherslink {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    max-width: 100%;
    padding: 5px 0 !important;
  }
  .furniture_maker li {
    width: auto;
  }

  /* other pages */

  div#logo {
    width: auto;
    margin-top: 75px;
  }
  div#logo div#inner_logo {
    width: 100%;
    height: auto;
  }

  #logo #inner_logo img {
    width: 150px;

    margin-bottom: 0;

    height: auto;
  }

  .area_r #main-content {
    width: 100%;
  }

  #company .company-box dd {
    width: auto;
  }
  #company .company-box dt {
    width: -webkit-fill-available;
  }
  div.pattern1-8 {
    margin-right: 0 !important;
  }

  #works-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));

    max-width: 100%;
    padding: 5px 0 !important;
  }

  #works-items .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .local_nav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
  }

  .local_nav ul li {
    flex: 1;
    text-align: center;
    flex-basis: 150px;
    white-space: nowrap;
  }

  p,
  span {
    font-size: 100%;
    font-size: 1rem;
    line-height: 1.4rem;
  }

  div#main-content h2 span {
    font-size: 100%;
  }

  .info-page-img {
    margin: 5px 0;
  }

  .pattern1-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 16px;
    max-width: 100%;
  }

  .info-order .pattern1-2 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0;
  }

  .info-order div#main-content div.pattern1-2 div.left-col,
  .info-order div#main-content div.pattern1-2 div.right-col,
  .info-order div#main-content div.pattern1-3 div.col {
    flex-direction: unset;
  }

  .info-order div#main-content p {
    margin: 0;
  }

  div#main-content div.pattern1-2 div.left-col,
  div#main-content div.pattern1-2 div.right-col,
  div#main-content div.pattern1-3 div.col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    float: none;
  }

  div#buy-bt {
    padding: 15px 10px;
  }

  div#buy-bt span {
    font-size: 12px;
  }

  h3 {
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
  }

  div#main-content h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 0;
  }

  div#main-content div.pattern1-8 div.col {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));

    max-width: 100%;
  }

  div#main-content p {
    margin: 10px 0;
    font-size: 12px;
  }

  .top_wrap ol.breadcrumbList {
    text-align: center;
  }

  .voice {
    display: flex;
    flex-direction: column-reverse;
  }

  .user .client {
    width: auto;
    float: none;
  }
  .user .voice_inner {
    width: auto;
    float: none;
  }

  #ui-tab {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #traffic_table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
  }

  #main_img {
    height: auto;
    background-size: cover;
  }
  #choice_box {
    display: none;
  }
  .cate_ttl + #main_img {
    height: clamp(25vh, 35vh, 50vh);
  }

  .price_table3 {
    overflow-x: auto;
  }
  .price_table3 tbody {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
  }
  #kiji_choice_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .title_box_b {
    margin-bottom: 15px;
  }

  span.right {
    display: block;
    margin: 10px 0;
  }

  div#buy-bt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px !important;
  }

  #image_gallery_center {
    width: 100%;
  }

  #color_caution {
    width: 100%;
  }

  #image_gallery_imgBox_teks {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .kouzou_box_lr {
    float: none;
    margin-right: 0px;
    width: auto;
  }

  .kouzou_item_title {
    width: auto;
  }
  .kouzou_img {
    width: 300px;
    height: auto;
  }
  .kouzou_text02 {
    width: auto;
  }
  .soft_list dt {
    width: auto;
  }
  .soft_list dd {
    width: fit-content;
  }
  .panorama_example {
    width: 100% !important;
    height: auto;
  }
  .panorama_example img {
    position: static;
    height: auto;
  }

  .panorama_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #series_box {
    height: auto;
    margin: 20px 0;
  }

  .text_box_w {
    text-align: center;
    margin-top: 20px;
  }

  .panorama_example div {
    width: 100%;
  }

  .soft_list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  div#main-content dl dd {
    float: none;
    margin: 0 auto;
  }

  .buy-div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .buy-button {
    margin-top: 10px;
  }
  .buy-button img {
    width: 130px;
    height: 47px;
    max-width: none !important;
  }

  #kouzou_box .kouzou_img {
    width: 100%;
  }
  .kouzou_img img {
    width: 100%;
  }

  /* c-chair inside */
  .c_chair_content.detail .b_contact {
    display: flex;
    justify-content: center;
  }

  .c_chair_content.detail .b_contact {
  }

  .h2_ttl_area.detail .btn_back {
    position: static;
    margin-top: 10px;
  }
  .h2_ttl_area.detail h2 {
    margin-bottom: 10px;
    padding: 0;
  }

  .itembox {
    width: auto;
    float: none;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main-contents_teks .item-box {
    float: none;
    position: static;

    width: auto;
    height: auto;
    margin-bottom: none;
    margin-left: none;

    border: 1px solid #d2d2d2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .main-contents_teks .item-box ul.main-data {
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  div#main-content .pattern1-2 p {
  }

  #lightbox-container-image-box {
    width: 100% !important;
    height: auto !important;
  }
  #lightbox-container-image-data-box {
    width: 100% !important;
    height: auto !important;
    padding: 0;
  }

  #lightbox-nav-btnPrev,
  #lightbox-nav-btnNext {
    height: 90% !important;
    background-position-y: center !important ;
  }

  /* stool start */
  .stool-body div#main-content dl dd {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stool-body .inner-table {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .stool-body .inner-table > td {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .stool-body div#main-content table td {
    width: 80vw !important;
    margin: 0 auto;
  }
  .stool-body div#main-content table th {
    width: auto !important;
  }

  .stool-body table {
    width: 100%;
  }

  .stool-body iframe {
    width: 100%;
    height: 500px;
  }
  .stool-body ul.inquiry_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .stool-body ul.inquiry_btn li:last-child,
  .stool-body ul.inquiry_btn li:first-child {
    width: auto;
  }

  .inner-table p {
    font-size: 10px;
  }

  /* stool end */

  /* c-char start */

  .c-chair-inner-table {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .c-chair-body div#main-content a {
    width: fit-content;
    display: block;
    margin: 0 auto;
  }

  .c-chair-body div#main-content table td {
    width: -webkit-fill-available !important;
  }

  .stool-body .s-iframe {
    height: 350px;
  }

  div#main-content h3 {
    margin-top: 20px !important;
  }

  .detail-h {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

  .c_chair_content.detail .thumb_area td a.selected {
    box-sizing: border-box;
  }

  .detail-body .thumb_area tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    max-width: 100%;
    padding: 5px 0 !important;
    row-gap: 10px;
  }

  .c_chair_content.detail .thumb_area {
    display: flex;
    width: 100%;
  }

  .c_chair_content.detail .main_photo_area .leg_img {
    top: 130px;
    left: 0;
  }

  .c_chair_content.detail .thumb_area td img {
    width: 100%;
  }

  .c_chair_content.detail .thumb_area td a {
    height: 175px !important;
  }

  .c_chair_content.detail .thumb_area td img {
    position: static;
    width: 100%;
    height: inherit !important;
  }

  .c_chair_content.detail .main_photo_area .top_img {
    position: relative;
    z-index: 1000;
    margin-top: 25px;
    top: 0;
    left: 0;
  }

  .c_chair_content.detail .thumb-area-cover div.tabSet ul.nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .c_chair_content.detail .thumb-area-cover div.tabSet ul.nav li {
    float: none;
  }
  .c_chair_content.detail .thumb-area-cover div.tabSet ul.nav li a {
  }

  .c_chair_content.detail .price-sec-area {
    padding: 10px 0;
    overflow-x: auto;
    margin-top: 0;
  }

  .c_chair_content.detail .price-sec-area table {
    width: 750px;
  }
  .drawing-parent {
    display: flex;
    justify-content: center;
    margin-top: -70px;
  }

  .h2_ttl_area.detail .s_txt {
    margin: 0;
  }

  /* little adjust start */
  .lanking_02 ul li:nth-child(2) {
    padding-top: 5px;
  }

  .cushion-body .LineupThumbContent h4 img {
    position: relative;
  }

  .cushion-body div#main-content ul li a {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .cushion-body .LineupThumb li {
    width: 100%;
  }

  .cushion-body div#main-content p {
    margin: 0;
  }

  .cushion-single #keyword {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}





/* new pages start*/

/* cushion start */

.thum-images{

  margin: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  flex-wrap: wrap;
}



.thum-images .thum-sub-img img{
  display: block;
  width: 150px;
  cursor: pointer;
}

/* end */